#ifndef BORD_H
#define BORD_H

#include <QtGui>
#include "nest.h"
#include "bob.h"

class Bord : public QLabel
{
    Q_OBJECT
public:
    explicit Bord(QColor bcol, QWidget *parent = 0);
    QList<Nest*> nests;
    static const int nn = 24;
    QList<QPoint> as;

    bool have_line(int nid, int pid);
    QColor bcol, lcol;
    QLinearGradient* grad;


signals:

public slots:
    void mouseMoveEvent(QMouseEvent *ev);
//    void paintEvent(QPaintEvent *);
    void resizeEvent(QResizeEvent *);
};



#endif // BORD_H
